You've seen it from the eggdrop bots, I dunno if anyones done a
mIRC script bottle-spin, I'm sure they have, so here's another one;-)
So what'zit do? well, the operating instructions are complicated....
someone types >spin
By popleur demand here's the script i use, which includes a
voting thing as well, this version has a faster way to decide the
nick results as well, plus detects if they change their nick >;-)
Please change the > prefix to your own.
1:on text:>spin:?:msg $nick Please type >spin on the channel to spin the bottle
1:on text:>spin:#: {
if (%spinnumber = 1) { msg $nick Sorry, spin in progress... | halt }
else set %spinnumber 1
set %bottlechan $chan
set %vote enabled
set %voteyes 0
set %voteno 0
:bottlestart
set %bottlenick $nick($rand(1,$nick(0,%bottlechan)),%bottlechan)
msg %bottlechan $nick spins the bottle...
timer 1 1 msg %bottlechan The bottle spins around n around...
timer 1 2 msg %bottlechan The bottle slows down...
timer 1 6 msg %bottlechan The Bottle lands on %bottlenick $+ !
timer 1 7 msg %bottlechan So, whaddaya wanna do with %bottlenick $+ ? Type >kick to vote for kicking, type >save otherwise. Voting closes in 60 seconds
timer 1 60 set %vote disabled
timer 1 60 vote
timer 1 60 set %spinnumber 0
}
1:on text:>kick:#: {
if %vote = disabled { notice $nick Sorry voting is closed! | halt }
if %vote = enabled { inc %voteyes 1 | notice $nick Your vote for kicking %bottlenickhas been recorded }
}
1:on text:>save:#: {
if %vote = disabled { notice $nick Sorry voting is closed! | halt }
if %vote = enabled { inc %voteno 1 | notice $nick Your vote for saving %bottlenick has been recorded }
}
Obviously u can do whattevver you want, but if you include this script in a bot,
I'd appreciate a mention of my nick, and The <ò> Aut0Bot <ò>, cheerz.
Hi'z to oH_yEaH, Wichita-Guy, ^monty, MEK and sumWOMAN